<template>
  <section>
    <el-steps :active="active" finish-status="success">
      <el-step :title="item.label" :description="description" v-for="item of steps" :key="item.label" />
    </el-steps>
  </section>
</template>

<script>
export default {
  name: 'FormStepHeader',
  props: {
    steps: Array,
    active: Number,
    description: String
  }
};
</script>
